package com.lanchetech.service;


import com.alibaba.fastjson.JSONObject;

import java.util.List;
import java.util.Map;

public interface JpushService {
    void sendPushToAll(String message,String title, Map<String, String> extras);

    void sendPushToPerson(String message,String registerId,String title,Map<String, String> extras);

    void sendPushToPeople(String message,List<String> registerId,String title,Map<String, String> extras);

    void sendPushToTags(String message, List<String> tags,String title,Map<String, String> extras);

    void sendPushToAlias(String message, List<String> alias,String title,Map<String, String> extras);

    void handleMessage(JSONObject req);
}
